package com.example.demo.mapper;

import com.example.demo.domain.dto.AuthUserDTO;
import com.example.demo.entity.AuthUser;
import com.example.demo.handle.DomainConvert;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface AuthUserConvert extends DomainConvert<AuthUser, AuthUserDTO> {
    AuthUserConvert INSTANCE = Mappers.getMapper(AuthUserConvert.class);
    AuthUserDTO copy(AuthUserDTO authUserDTO);
}
